package cqrtplm.vo;

import com.hustcad.plm.pdm.partbom.dto.PartBomTree;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class LikeBomVO {
    //编码
    private String partNumber;
    //名称
    private String namee;
    //版本
    private String version;
    //生命周期
    private String lifecycleState;
    //oid
    private String oid;

    public LikeBomVO(){

    }

    public LikeBomVO(PartBomTree partBomTree){
        this.partNumber = partBomTree.getObjectNumber();
        this.namee = partBomTree.getName();
        this.version = partBomTree.getVersion();
        this.lifecycleState = partBomTree.getLifecycleState();
    }

}
